From: Felix Krull Date: Thu, 31 Oct 2019 12:37:57 +0000 (+0100) Subject: Set up cargo workspace X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~184 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=486c60489ad8f8c8cef32264ec210272b7f37747;p=ostree.git Set up cargo workspace --- diff --git a/rust-bindings/rust/.gitlab-ci.yml b/rust-bindings/rust/.gitlab-ci.yml index 4461e85d..f15d61eb 100644 --- a/rust-bindings/rust/.gitlab-ci.yml +++ b/rust-bindings/rust/.gitlab-ci.yml @@ -35,13 +35,12 @@ build_all-features: stage: build script: - cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings - - cargo test --verbose --manifest-path sys/Cargo.toml --features ${OSTREE_VERSION} - - cargo test --verbose --features ${OSTREE_VERSION},futures + - cargo test --verbose --all --features ${OSTREE_VERSION},futures build_default-features: stage: build script: - - cargo test --verbose + - cargo test --verbose --all # docs docs: diff --git a/rust-bindings/rust/Cargo.toml b/rust-bindings/rust/Cargo.toml index dff9b634..0f61a620 100644 --- a/rust-bindings/rust/Cargo.toml +++ b/rust-bindings/rust/Cargo.toml @@ -28,6 +28,9 @@ repository = "fkrull/ostree-rs" [lib] name = "ostree" +[workspace] +members = ["sys"] + [dependencies] libc = "0.2" bitflags = "1"